package com.authstr.support;

public class CommonUtil {
    /**
     * 判断两个值是否相等
     * @param newValue
     * @param oldValue
     * @return
     */
    public static  Boolean isSame(Object newValue,Object oldValue){
        if(null==newValue){
            if(null!=oldValue){
                return false;
            }
        }else{
            if(!newValue.equals(oldValue)){
                return false;
            }
        }
        return true;
    }
}
